﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ZWZ.Web.WebAdmin.HelpInfo
{
    public partial class Content : System.Web.UI.Page
    {
        private Common.XmlConfig.ConfigGroup _CurrentGroup;

        /// <summary>
        /// 当前分组
        /// </summary>
        public Common.XmlConfig.ConfigGroup CurrentGroup
        {
            get
            {
                if (_CurrentGroup == null)
                {
                    string key = Request["g"];
                    _CurrentGroup = Config.ConfigAdapter.AdminHelper.Groups.Where(i => i.Key == key).FirstOrDefault();
                }
                return _CurrentGroup;
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}